<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/CustomTag" prefix="customTag"%>

<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：课程查询</span></div>
<div class="function_content">

<div class="addItem"><img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseReadExpert.action?intercept=1">课程信息查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listExcellentCourseReadExpert.action?intercept=1">精品课程</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseTeaFKReadExpert.action?intercept=1">教师任课情况查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseFileSrcPublicReadExpert.action?intercept=1">课程公共文件资源查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseFileSrcPrivateReadExpert.action?intercept=1">课程私有文件资源查询</a>
<img src="../images/insert_icon.gif">自测试题查询
<img src="../images/insert_icon.gif">课后作业查询
<img src="../images/insert_icon.gif">在线讨论查询
<img src="../images/insert_icon.gif">授课问题反馈查询
</div>

<div class="search_function">
<form action="searchListCourseReadExpert.action" method="get" name="search_form" id="search_form" >
<input type="hidden" name="intercept" value="1">
<div class="sub_form">课程名称：
  <input type="text" name="course.courseName" id="course.courseName" value="<s:property value='course.courseName' />"></div>

<div class="sub_form">所属课程分类：
 <input type="text" name="course.courseCateName" id="course.courseCateName" value="<s:property value='course.courseCateName' />"></div>
<div class="sub_form">是否为公共课程：
<select name="course.isPublic" id="course.isPublic">
	<option value="-1">全部</option>
<s:if test="%{course.isPublic==1}">
	<option value="1" selected="selected">是</option>
</s:if>
<s:else>
	<option value="1">是</option>
</s:else>
<s:if test="%{course.isPublic==0}">
	<option value="0" selected="selected">否</option>
</s:if>
<s:else>
	<option value="0">否</option>
</s:else>
</select>
</div>
<div class="sub_form">所属专业名称：
<input type="text" name="course.majorName" id="course.majorName" value="<s:property value='course.majorName' />"></div>  
<div class="sub_form"><input type="submit" value="搜索" class="button"></div>
</form>
</div>


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="listTable">
  <tr class=title_line>
    <td>序号</td>
    <td>课程名称</td>
	<td>所属课程分类</td>
	<td>是否为公共课程</td>
	<td>所属专业</td>
	<td>课程描述</td>
	<td>创建者</td>
    <td>创建时间</td>
    <td>更新时间</td>
  </tr>
  <s:iterator value="listCourse" status="stat">
  <tr>
    <td><s:property value="#stat.getIndex()+1" /></td>
    <td><s:property value="courseName" /></td>    
	<td><s:property value="courseCateName" /></td>
	<td><s:property value="isPublicString" /></td>
	<td><s:property value="majorName" /></td>
	<td><s:property value="courseMark" /></td>
    <td><s:property value="author" /></td>
    <td><s:property value="gmtCreatedString" /></td>
    <td><s:property value='gmtModifiedString' /></td>
  </tr>
  </s:iterator>
</table>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>

</div>
<%@ include file="../Main/bottom.jsp"%>
